package net.hn.hnms.biz.safety.wind.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author 智呈物联 nzw
 * @date 2022/12/19
 */

@Data
@Entity
@Table(name = "wind_door")
public class WindDoorEntity {

    @ApiModelProperty(value = "风门id")
    @Column(name = "wind_window_id")
    @TableId(value = "wind_window_id")
    @Id
    private Long id;

    @Column(name = "position_id")
    @ApiModelProperty(value = "设备安装位置")
    private Long positionId;

    @Column(name = "mine_code")
    @ApiModelProperty(value = "煤矿编码")
    private String mineCode;

    @Column(name = "wind_type")
    @ApiModelProperty(value = "风门类型：0普通风门，1带风窗风门")
    private String windType;

    @Column(name = "video_channel_id")
    @ApiModelProperty(value = "视频通道id")
    private Long videoChannelId;

}
